package com.jk.smartelderlycare.service;

import com.jk.smartelderlycare.dto.SysPurchaseput;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/12/5 20:48
 * @Version v1.0
 */
public interface SysPurchaseputService {

    /**
     * @description: 后端分页查询
     * @param: [sysProcurement, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.SysProcurement>
     * @author hhk
     * @date: 2024/12/5 9:34
     */

    public PagedResponse<SysPurchaseput> findSysPurchaseputPaginationList(SysPurchaseput sysPurchaseput, Integer pageNum,  Integer pageSize);
    /**
     * @description: 新增采购
     * @param: [sysProcurement]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:35
     */

    public void addSysPurchaseput( SysPurchaseput sysPurchaseput);
    /**
     * @description:
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:40
     */

    public void deleteSysPurchaseputById( Long purchasePutid);
    /**
     * @description: 审核
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void upStatusById( Long purchasePutid);

    /**
     * @description: 未审核
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void downStatusById(  Long purchasePutid);
    /**
     * @description: 根据id查询采购信息
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void findSysPurchaseputById( Long purchasePutid);
    /**
     * @description: 修改
     * @param: [sysProcurement]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:48
     */

    public void updateSysPurchaseput( SysPurchaseput sysPurchaseput);
    /**
     * @description: 导出
     * @param: []
     * @return: com.jk.smartelderlycare.dto.SysProcurement
     * @author hhk
     * @date: 2024/12/5 9:50
     */

    public List<SysPurchaseput> findSysProcurement();

    /**
     * @description: 导入
     * @param: []
     * @return: com.jk.smartelderlycare.dto.SysProcurement
     * @author hhk
     * @date: 2024/12/5 9:50
     */

    public void addProcurement( SysPurchaseput sysPurchaseput);
    /**
     * @description: 关闭
     * @param: [vendorName]
     * @return: java.util.List<com.jk.smartelderlycare.dto.SysProcurement>
     * @author hhk
     * @date: 2024/12/5 20:37
     */

    public void ShutdownStatusById(Long purchasePutid);
}
